package com.fh.alipay.service;

import com.fh.alipay.po.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fh.alipay.model.dto.OrderDTO;
import com.fh.alipay.model.query.OrderQuery;
import java.util.List;
/**
 * @author fh
 * @date 2022-05-04
 * @description 订单表 服务类
 */
public interface IOrderService extends IService<Order> {

        IPage<Order> getWithPage(Page page, OrderQuery query);

        Order getOneByQuery(OrderQuery query);

        List<Order> getAllByQuery( OrderQuery query);

        List<Order> queryByContactTel(String contactTel);

}
